package com.sigmatrix.h5.entity.v2;

import java.util.Date;

import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableName;
import com.baomidou.mybatisplus.enums.IdType;
import com.sigmatrix.h5.entity.base.SuperEntity;

import io.swagger.annotations.ApiModelProperty;

@TableName("_code_inspection_record")
public class CodeInspectionRecord extends SuperEntity<CodeInspectionRecord> {

	private static final long serialVersionUID = 1L;
	
    @TableId(value="id",type=IdType.AUTO)
    protected Integer id;
	
	@ApiModelProperty(value="二维码")
	private String qrCode;
	/**
	 * com.sigmatrix.h5.enums.CodeType
	 */
	@ApiModelProperty(value="码样式",example="1 seqnum，2 密文码，3 友好码，4第三方码")
	private Integer codeType;
	@ApiModelProperty(value="level")
	private Integer codeLevel;
	@ApiModelProperty(value="码级别名称 和字段codeLevel相对应",example="箱码，盒码，瓶码，...")
	private String codeLevelName;
	private String seqNum;
	@ApiModelProperty(value="串货检查记录ids,用英文','分割")
	private String fleeCheckRecordIds;
	@ApiModelProperty(value="经销商/门店id")
	private Integer dealerId;
	@ApiModelProperty(value="（经销商/门店）类型",example="1企业（不用）,2经销商,3门店")
	private Integer dealerType;
	@ApiModelProperty(value="（经销商/门店）名称")
	private String dealerName;
	@ApiModelProperty(value="产品Id")
	private Integer productId;
	private String productName;
	@ApiModelProperty(value="产品班次")
	private String productBatchCode;
	private Date productTime;
	/**
	 * CodeInspectStatus
	 */
	@ApiModelProperty(value="状态",example="1正常,2同区串货,3跨区串货,4人工判断。")
	private Integer status;
	private String ip;
	private Date createTime;
	private Integer userId;
	private String account;
	
	@ApiModelProperty(value="图片访问路径",example="以英文逗号分隔。")
	private String pictureUrl;
	private String remark;
	private Integer provinceId;
	private Integer cityId;
	private Integer countyId;
	
	@ApiModelProperty(value="1正常,2串货")
	private Integer finalStatus;
	
	public Integer getFinalStatus() {
		return finalStatus;
	}

	public void setFinalStatus(Integer finalStatus) {
		this.finalStatus = finalStatus;
	}

	public String getQrCode() {
		return qrCode;
	}

	public void setQrCode(String qrCode) {
		this.qrCode = qrCode;
	}

	public Integer getCodeType() {
		return codeType;
	}

	public void setCodeType(Integer codeType) {
		this.codeType = codeType;
	}

	public Integer getCodeLevel() {
		return codeLevel;
	}

	public void setCodeLevel(Integer codeLevel) {
		this.codeLevel = codeLevel;
	}

	public String getFleeCheckRecordIds() {
		return fleeCheckRecordIds;
	}

	public void setFleeCheckRecordIds(String fleeCheckRecordIds) {
		this.fleeCheckRecordIds = fleeCheckRecordIds;
	}

	public Integer getDealerId() {
		return dealerId;
	}

	public void setDealerId(Integer dealerId) {
		this.dealerId = dealerId;
	}

	public Integer getDealerType() {
		return dealerType;
	}

	public void setDealerType(Integer dealerType) {
		this.dealerType = dealerType;
	}

	public Integer getProductId() {
		return productId;
	}

	public void setProductId(Integer productId) {
		this.productId = productId;
	}

	public String getProductBatchCode() {
		return productBatchCode;
	}

	public void setProductBatchCode(String productBatchCode) {
		this.productBatchCode = productBatchCode;
	}

	public Date getProductTime() {
		return productTime;
	}

	public void setProductTime(Date productTime) {
		this.productTime = productTime;
	}

	public Integer getStatus() {
		return status;
	}

	public void setStatus(Integer status) {
		this.status = status;
	}

	public String getIp() {
		return ip;
	}

	public void setIp(String ip) {
		this.ip = ip;
	}

	public Date getCreateTime() {
		return createTime;
	}

	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}

	public Integer getUserId() {
		return userId;
	}

	public void setUserId(Integer userId) {
		this.userId = userId;
	}

	public String getPictureUrl() {
		return pictureUrl;
	}

	public void setPictureUrl(String pictureUrl) {
		this.pictureUrl = pictureUrl;
	}

	public String getRemark() {
		return remark;
	}

	public void setRemark(String remark) {
		this.remark = remark;
	}

	public Integer getProvinceId() {
		return provinceId;
	}

	public void setProvinceId(Integer provinceId) {
		this.provinceId = provinceId;
	}

	public Integer getCityId() {
		return cityId;
	}

	public void setCityId(Integer cityId) {
		this.cityId = cityId;
	}

	public Integer getCountyId() {
		return countyId;
	}

	public void setCountyId(Integer countyId) {
		this.countyId = countyId;
	}

	public String getSeqNum() {
		return seqNum;
	}

	public void setSeqNum(String seqNum) {
		this.seqNum = seqNum;
	}

	public String getDealerName() {
		return dealerName;
	}

	public void setDealerName(String dealerName) {
		this.dealerName = dealerName;
	}

	public String getAccount() {
		return account;
	}

	public void setAccount(String account) {
		this.account = account;
	}
	
	public String getProductName() {
		return productName;
	}

	public void setProductName(String productName) {
		this.productName = productName;
	}

	public String getCodeLevelName() {
		return codeLevelName;
	}

	public void setCodeLevelName(String codeLevelName) {
		this.codeLevelName = codeLevelName;
	}

	@Override
	public String toString() {
		return "CodeInspectionRecord [id=" + id + ", qrCode=" + qrCode + ", codeType=" + codeType + ", codeLevel="
				+ codeLevel + ", seqNum=" + seqNum + ", fleeCheckRecordIds=" + fleeCheckRecordIds + ", dealerId="
				+ dealerId + ", dealerType=" + dealerType + ", dealerName=" + dealerName + ", productId=" + productId
				+ ", productName=" + productName + ", productBatchCode=" + productBatchCode + ", productTime="
				+ productTime + ", status=" + status + ", ip=" + ip + ", createTime=" + createTime + ", userId="
				+ userId + ", account=" + account + ", pictureUrl=" + pictureUrl + ", remark=" + remark
				+ ", provinceId=" + provinceId + ", cityId=" + cityId + ", countyId=" + countyId + "]";
	}

}
